Skip to content

[POST] blockRFID

/api/driver/blockRFID

BlockRFIDRequestDTO

  • The request takes no input parameters.
  • It assumes that the driver themselves will create the request, therefore, the token associated with the driver's current session is used.
  • The request assumes that the driver's current RFID is the one to be blocked and will disassociate it with the driver's account.

BlockRFIDResponseDTO

  • Expect a generic response with a status code of 200 if the request is successful.
  • DRIVER_NO_RFID Error will be raised if the driver doesn't have an RFID associated with their account with a status code of 400.